var startSelectDateDom = $('#startSelectDate');
			var startShowDateDom = $('#startShowDate');

			var endSelectDateDom = $('#endSelectDate');
			var endShowDateDom = $('#endShowDate');
			
			//DatePicker选择器需要用到的选择器
			
			
			// 初始化时间
			var now = new Date();
			var nowYear = now.getFullYear();
			var nowMonth = now.getMonth() + 1;
			var nowDate = now.getDate();
			nowMonth = nowMonth < 10 ? ('0' + nowMonth) : nowMonth;
			nowDate = nowDate < 10 ? ('0' + nowDate) : nowDate;

			startShowDateDom.attr('data-year', nowYear);
			startShowDateDom.attr('data-month', nowMonth);
			startShowDateDom.attr('data-date', nowDate);

			endShowDateDom.attr('data-year', nowYear);
			endShowDateDom.attr('data-month', nowMonth);
			endShowDateDom.attr('data-date', nowDate);

			// 数据初始化
			function formatYear(nowYear) {
				var arr = [];
				for(var i = nowYear - 5; i <= nowYear + 5; i++) {
					arr.push({
						id: i + '',
						value: i + '年'
					});
				}
				return arr;
			}

			function formatMonth() {
				var arr = [];
				for(var i = 1; i <= 12; i++) {
					if(i < 10) {
						i = '0' + i;
					}
					arr.push({
						id: i + '',
						value: i + '月'
					});
				}
				return arr;
			}

			function formatDate(count) {
				var arr = [];
				for(var i = 1; i <= count; i++) {
					if(i < 10) {
						i = '0' + i;
					}
					arr.push({
						id: i + '',
						value: i + '日'
					});
				}
				return arr;
			}
			var yearData = function(callback) {
				callback(formatYear(nowYear))
			}
			var monthData = function(year, callback) {
				callback(formatMonth());
			};
			var dateData = function(year, month, callback) {
				if(/^(01|03|05|07|08|10|12)$/.test(month)) {
					callback(formatDate(31));
				} else if(/^(04|06|09|11)$/.test(month)) {
					callback(formatDate(30));
				} else if(/^02$/.test(month)) {
					if(year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) {
						callback(formatDate(29));
					} else {
						callback(formatDate(28));
					}
				} else {
					throw new Error('month is illegal');
				}
			};

			startSelectDateDom.bind('click', function() {
				var oneLevelId = startShowDateDom.attr('data-year');
				var twoLevelId = startShowDateDom.attr('data-month');
				var threeLevelId = startShowDateDom.attr('data-date');
				var fourLevelId = startShowDateDom.attr('data-hour');
				var fiveLevelId = startShowDateDom.attr('data-minute');
				startDateTime(startShowDateDom, oneLevelId, twoLevelId, threeLevelId);

			});
			endSelectDateDom.bind('click', function() {
				var oneLevelId = endShowDateDom.attr('data-year');
				var twoLevelId = endShowDateDom.attr('data-month');
				var threeLevelId = endShowDateDom.attr('data-date');
				var fourLevelId = endShowDateDom.attr('data-hour');
				var fiveLevelId = endShowDateDom.attr('data-minute');
				endDateTime(endShowDateDom, oneLevelId, twoLevelId, threeLevelId);

			});

			var timeNum = 0;

			function startDateTime(ShowDateDom, oneLevelId, twoLevelId, threeLevelId) {
				var iosSelect = new IosSelect(3, [yearData, monthData, dateData], {
					title: '时间选择',
					itemHeight: 35,
					itemShowCount: 7,
					oneLevelId: oneLevelId,
					twoLevelId: twoLevelId,
					threeLevelId: threeLevelId,
					callback: function(selectOneObj, selectTwoObj, selectThreeObj) {
						ShowDateDom.attr('data-year', selectOneObj.id);
						ShowDateDom.attr('data-month', selectTwoObj.id);
						ShowDateDom.attr('data-date', selectThreeObj.id);
						ShowDateDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value);
						if(timeNum > 0) {
							SETime();
						}
						/*setTimeout(function() {
							$('.switch_Container').hide();
						}, 10000)*/
					}
				});
			}

			function endDateTime(ShowDateDom, oneLevelId, twoLevelId, threeLevelId) {
				var iosSelect = new IosSelect(3, [yearData, monthData, dateData], {
					title: '时间选择',
					itemHeight: 35,
					itemShowCount: 7,
					oneLevelId: oneLevelId,
					twoLevelId: twoLevelId,
					threeLevelId: threeLevelId,
					callback: function(selectOneObj, selectTwoObj, selectThreeObj) {
						ShowDateDom.attr('data-year', selectOneObj.id);
						ShowDateDom.attr('data-month', selectTwoObj.id);
						ShowDateDom.attr('data-date', selectThreeObj.id);
						ShowDateDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value);
						SETime()
						timeNum++;
						/*setTimeout(function() {
							$('.switch_Container').hide();
						}, 10000)*/
					}
				});
			}